﻿using hnrzxt.Controllers;
using hnrzxt.Models;
using Microsoft.EntityFrameworkCore;

namespace hnrzxt.data
{
    public class ApplicationDbContext:DbContext
    {
        public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options)
        {

        }
        public DbSet<Token> Tokens { get; set;}
        public DbSet<User> Users { get; set;}
        public DbSet<Org> Orgs { get; set; }
        public DbSet<MenuManage> MenuManage { get; set; }
        public DbSet<DingOrga> DingOrga { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<Role_Menu> Roles_Menu { get; set; }
        public DbSet<Zlxx> zlxxes { get; set; }
        public DbSet<Rccp> Rccps { get; set; }
        public DbSet<Rcpd> Rcpds { get; set; }

        public DbSet<hr_jbxx> hr_jbxx { get; set; }
        public DbSet<hr_gwxx> hr_gwxx { get; set; }
        public DbSet<hr_hyzk> hr_hyzk { get; set; }
        public DbSet<hr_diseasa> hr_diseasa { get; set; }

        public DbSet<hr_jyxx> hr_jyxx { get; set; }
        public DbSet<hr_gzjl> hr_gzjl { get; set; }
        public DbSet<hr_jtzk> hr_jtzk { get; set; }
        public DbSet<hr_jcjl> hr_jcjl { get; set; }
        /////
        ///


        public DbSet<hr_ldgx> hr_ldgx { get; set; }
        public DbSet<hr_ldht> hr_ldht { get; set; }
        public DbSet<hr_syq> hr_syq { get; set; }
        public DbSet<hr_pzxx> hr_pzxx { get; set; }
        public DbSet<hr_rzpx> hr_rzpx { get; set; }
        public DbSet<hr_qtpx> hr_qtpx { get; set; }
        public DbSet<hr_wbpx> hr_wbpx { get; set; }
        public DbSet<hr_zsxx> hr_zsxx { get; set; }
        public DbSet<sys_area> sys_area { get; set; }
        public DbSet<User_Org> User_Orgs { get; set; }

        public DbSet<hr_situation> hr_situation { get; set; }
        public DbSet<hr_cpFiless> hr_cpFiless { get; set; }
        public DbSet<hr_cpFilejiaoyu> hr_cpFilejiaoyu { get; set; }

    }
}
